package com.janke.softballnexus.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class LoginPanel extends Composite {

	private static LoginPanelUiBinder uiBinder = GWT
			.create(LoginPanelUiBinder.class);

	interface LoginPanelUiBinder extends UiBinder<Widget, LoginPanel> {
	}

	@UiField
	Anchor signInAnchor;

	public LoginPanel() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	public void setAnchorUrl(String url) {
		signInAnchor.setHref(url);
	}

}
